<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkFlowTypes
 *
 * @ORM\Table(name="tk_flow_types", indexes={@ORM\Index(name="vcc_flow_index", columns={"vcc_id", "flow_id"})})
 * @ORM\Entity
 */
class TkFlowTypes
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false, options={"comment"="企业id"})
     */
    private $vccId;

    /**
     * @var int
     *
     * @ORM\Column(name="flow_id", type="integer", nullable=false, options={"comment"="流程id"})
     */
    private $flowId;

    /**
     * @var string
     *
     * @ORM\Column(name="type_name", type="string", length=50, nullable=false, options={"comment"="问题类型名称"})
     */
    private $typeName;

    /**
     * @var int
     *
     * @ORM\Column(name="parent_id", type="integer", nullable=false, options={"comment"="父级问题类型id"})
     */
    private $parentId;

    /**
     * @var int
     *
     * @ORM\Column(name="create_user_id", type="integer", nullable=false, options={"comment"="创建人id"})
     */
    private $createUserId;

    /**
     * @var string
     *
     * @ORM\Column(name="create_user_name", type="string", length=150, nullable=false, options={"comment"="创建人姓名"})
     */
    private $createUserName;

    /**
     * @var int
     *
     * @ORM\Column(name="create_time", type="integer", nullable=false, options={"comment"="创建时间戳"})
     */
    private $createTime;

    /**
     * @var int
     *
     * @ORM\Column(name="update_user_id", type="integer", nullable=false, options={"comment"="修改人id"})
     */
    private $updateUserId;

    /**
     * @var string
     *
     * @ORM\Column(name="update_user_name", type="string", length=150, nullable=false, options={"comment"="修改人姓名"})
     */
    private $updateUserName;

    /**
     * @var int
     *
     * @ORM\Column(name="update_time", type="integer", nullable=false, options={"comment"="修改时间戳"})
     */
    private $updateTime;

    /**
     * @var string
     *
     * @ORM\Column(name="type_info", type="text", length=0, nullable=false, options={"comment"="问题描述提示"})
     */
    private $typeInfo;

    /**
     * @var string
     *
     * @ORM\Column(name="dynamic_field", type="string", length=250, nullable=false, options={"comment"="动态字段"})
     */
    private $dynamicField;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getVccId(): ?int
    {
        return $this->vccId;
    }

    public function setVccId(int $vccId): self
    {
        $this->vccId = $vccId;

        return $this;
    }

    public function getFlowId(): ?int
    {
        return $this->flowId;
    }

    public function setFlowId(int $flowId): self
    {
        $this->flowId = $flowId;

        return $this;
    }

    public function getTypeName(): ?string
    {
        return $this->typeName;
    }

    public function setTypeName(string $typeName): self
    {
        $this->typeName = $typeName;

        return $this;
    }

    public function getParentId(): ?int
    {
        return $this->parentId;
    }

    public function setParentId(int $parentId): self
    {
        $this->parentId = $parentId;

        return $this;
    }

    public function getCreateUserId(): ?int
    {
        return $this->createUserId;
    }

    public function setCreateUserId(int $createUserId): self
    {
        $this->createUserId = $createUserId;

        return $this;
    }

    public function getCreateUserName(): ?string
    {
        return $this->createUserName;
    }

    public function setCreateUserName(string $createUserName): self
    {
        $this->createUserName = $createUserName;

        return $this;
    }

    public function getCreateTime(): ?int
    {
        return $this->createTime;
    }

    public function setCreateTime(int $createTime): self
    {
        $this->createTime = $createTime;

        return $this;
    }

    public function getUpdateUserId(): ?int
    {
        return $this->updateUserId;
    }

    public function setUpdateUserId(int $updateUserId): self
    {
        $this->updateUserId = $updateUserId;

        return $this;
    }

    public function getUpdateUserName(): ?string
    {
        return $this->updateUserName;
    }

    public function setUpdateUserName(string $updateUserName): self
    {
        $this->updateUserName = $updateUserName;

        return $this;
    }

    public function getUpdateTime(): ?int
    {
        return $this->updateTime;
    }

    public function setUpdateTime(int $updateTime): self
    {
        $this->updateTime = $updateTime;

        return $this;
    }

    public function getTypeInfo(): ?string
    {
        return $this->typeInfo;
    }

    public function setTypeInfo(string $typeInfo): self
    {
        $this->typeInfo = $typeInfo;

        return $this;
    }

    public function getDynamicField(): ?string
    {
        return $this->dynamicField;
    }

    public function setDynamicField(string $dynamicField): self
    {
        $this->dynamicField = $dynamicField;

        return $this;
    }


}
